package com.example.activity;

import android.content.Intent;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import android.widget.TextView;

import androidx.annotation.NonNull;
import androidx.appcompat.app.AppCompatActivity;
import androidx.recyclerview.widget.LinearLayoutManager;
import androidx.recyclerview.widget.RecyclerView;

public class MainActivity extends AppCompatActivity {



    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        Log.d("TAG", "A onCreate");
    }

    @Override
    protected void onStart() {
        super.onStart();
        Log.d("TAG", "A onStart");
    }

    @Override
    protected void onResume() {
        super.onResume();
        Log.d("TAG", "A onResume");
    }

    @Override
    protected void onPause() {
        super.onPause();
        Log.d("TAG", "A onPause");
    }

    @Override
    protected void onStop() {
        super.onStop();
        Log.d("TAG", "A onStop");
    }

    @Override
    protected void onDestroy() {
        super.onDestroy();
        Log.d("TAG", "A onDestroy");
    }

    @Override
    protected void onRestart() {
        super.onRestart();
        Log.d("TAG", "A onRestart");
    }

    public void jumpC(View view) {
        Intent intent = new Intent(this, ActivityC.class);
        startActivity(intent);
    }
}